package com.bugstack.domain.credit.repository;

import com.bugstack.domain.credit.model.aggregate.TradeAggregate;
import com.bugstack.domain.credit.model.entity.CreditAccountEntity;

/**
 * @Author: czb
 * @Description: 积分仓储服务
 * @DateTime: 2025/4/15 14:33
 **/
public interface ICreditRepository {

    void saveTradeAggregate(TradeAggregate tradeAggregate);

    CreditAccountEntity queryUserCreditAccount(String userId);
}
